<#if ps.getElement('model.name',false)?exists>
	<@cs.include page="/viewTemplate/_searchQuick.htm">
		<@cs.extends target="/style">
			<#if ps.css?exists>@import "${ps.css}"</#if>
		</@cs.extends>
		
		<@cs.extends target="/form+">
		<#--
			<@s.form id="%{#ps.action}Form" action="${ps.targetAction}" validate="false" theme="simple">
		-->
		</@cs.extends>
		<@cs.extends target="/form-">
		<#--
			</@s.form>
		-->
		</@cs.extends>
		
		<@cs.extends target="profileSearchTitle">
			<@s.text name="profileSearch.searchName"/>:
		</@cs.extends>
		
		<@cs.extends target="profileSearchInput">
			<@s.textfield name="model.name" size="25"/>
		</@cs.extends>
		
		<@cs.extends target="searchBtn.">
			<input type=submit class="button" value="<@s.text name='action.search'/>"/>
		</@cs.extends>
		
		<@cs.extends target="profileSearchLink.">
			<a class="adv_search_link" href="${fn.link(ps.action('_search'))}"><@s.text name='profileSearch.search'/></a>
		</@cs.extends>
	</@cs.include>
<#else>
	<@cs.mark name="profileSearchLink.">
		<a class="adv_search_link" href="${fn.link(ps.action('_search'))}"><@s.text name='profileSearch.search'/></a>
	</@cs.mark>
</#if>